﻿namespace Legend.Core.Tests.Guarding
{
    using Legend.Guarding;
    using NUnit.Framework;

    [TestFixture]
    public class RequireTests
    {
        [Test]
        public void ThatArgument_returns_argument_info_with_value_set()
        {
            IArgumentInfo<string> info = Require.ThatArgument("foo");
            Assert.AreEqual("foo", info.Value);
        }
    }
}
